//
//  Plant+CRUD.h
//  PlotMate
//
//  Created by Brian Boyle on 26/03/2012.
//  Copyright (c) 2012 Brian Boyle. All rights reserved.
//

#import "Plant.h"

@interface Plant (CRUD)

+(Plant *)createPlantWithCSVContent:(NSArray *)csvRow inContext:(NSManagedObjectContext *)context;
+(Plant *)createCompanionsWithCSVContent:(NSArray *)csvRow inContext:(NSManagedObjectContext *)context;
+(Plant *)createIncompatiblesWithCSVContent:(NSArray *)csvRow inContext:(NSManagedObjectContext *)context;
+(NSArray *)loadAllPlantsInContext:(NSManagedObjectContext *)context;
+(NSArray *)loadAllPlantsInArray:(NSArray *)plantNames withContext:(NSManagedObjectContext *)context;

@end
